﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SixApp.Extensions
{
    public static class StringExtensions
    {
        public static string TrimIfNotNull(this string str)
        {
            if (!string.IsNullOrEmpty(str))
            {
                return str.Trim();
            }

            return string.Empty;
        }
    }
}
